package search.impl;

import java.io.IOException;
import java.util.ArrayList;

public class GetAllHtmlRunner extends GetAll implements Runnable
{
	private ArrayList<String> returner;
	private String url;

	GetAllHtmlRunner(String url, ArrayList<String> returner)
	{

		this.returner = returner;
		this.url = url;
	}


	@Override
	public void run()
	{
		try
		{
			returner.add(getAllHtml(url));
		}
		catch (IOException e)
		{
			e.printStackTrace();
		}
	}
}
